package com.ruoyi.project.surveys.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 问卷基础信息对象 surveys_info
 * 
 * @author zhimin-hu
 * @date 2020-05-02
 */
public class SurveysInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 问卷题型 */
    @Excel(name = "问卷题型")
    private Long infoTypeId;
    /** 题型名称 */
    @Excel(name = "题型名称")
    private String typeName;
    /** 问卷图标 */
    @Excel(name = "问卷图标")
    private String picAddr;

    /** 问卷编号 */
    @Excel(name = "问卷编号")
    private String surveysNo;

    /** 问卷名称 */
    @Excel(name = "问卷名称")
    private String surveysName;

    /** 问题标题 */
    @Excel(name = "问题标题")
    private String title;

    /** 副标题 */
    @Excel(name = "副标题")
    private String fuTitle;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 感谢信息 */
    @Excel(name = "感谢信息")
    private String thanksMsg;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderNum;

    /** 题目总数 */
    private Long totalNum;

    /** 删除标志 */
    private String delFlag;

    /** 查看结果 */
    @Excel(name = "查看结果")
    private String lookFlag;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stopTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInfoTypeId(Long infoTypeId) 
    {
        this.infoTypeId = infoTypeId;
    }

    public Long getInfoTypeId() 
    {
        return infoTypeId;
    }
    public void setPicAddr(String picAddr) 
    {
        this.picAddr = picAddr;
    }

    public String getPicAddr() 
    {
        return picAddr;
    }
    public void setSurveysNo(String surveysNo) 
    {
        this.surveysNo = surveysNo;
    }

    public String getSurveysNo() 
    {
        return surveysNo;
    }
    public void setSurveysName(String surveysName) 
    {
        this.surveysName = surveysName;
    }

    public String getSurveysName() 
    {
        return surveysName;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setFuTitle(String fuTitle) 
    {
        this.fuTitle = fuTitle;
    }

    public String getFuTitle() 
    {
        return fuTitle;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setThanksMsg(String thanksMsg) 
    {
        this.thanksMsg = thanksMsg;
    }

    public String getThanksMsg() 
    {
        return thanksMsg;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setTotalNum(Long totalNum) 
    {
        this.totalNum = totalNum;
    }

    public Long getTotalNum() 
    {
        return totalNum;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setLookFlag(String lookFlag) 
    {
        this.lookFlag = lookFlag;
    }

    public String getLookFlag() 
    {
        return lookFlag;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setStopTime(Date stopTime) 
    {
        this.stopTime = stopTime;
    }

    public Date getStopTime() 
    {
        return stopTime;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("infoTypeId", getInfoTypeId())
            .append("picAddr", getPicAddr())
            .append("surveysNo", getSurveysNo())
            .append("surveysName", getSurveysName())
            .append("title", getTitle())
            .append("fuTitle", getFuTitle())
            .append("description", getDescription())
            .append("thanksMsg", getThanksMsg())
            .append("status", getStatus())
            .append("orderNum", getOrderNum())
            .append("totalNum", getTotalNum())
            .append("delFlag", getDelFlag())
            .append("lookFlag", getLookFlag())
            .append("startTime", getStartTime())
            .append("stopTime", getStopTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
